package com.sudo.common.constant;

/**
 * author：为道日损 2020-04-24 17:59
 */
public class UserConstant {
    private UserConstant(){}
    public static final String COOKIE_NAME = "user";

    public static final String COOKIE_USER_NAME = "username";

    public static final String COOKIE_UNIQUE_TOKEN = "uniqueToken";

    public static final String COOKIE_EMAIL_TOKEN = "emailToken";

    //用户权限
    public static final String ROLE_CODE = "roleCode";

    public static final String MENU_CODE = "menuCode";

    public static final String BUTTON_CODE = "buttonCode";

    //超级管理员Code
    public static final String SUPER_ADMIN = "000000";

    //超级用户用户名
    public static final String SUPER_NAME = "superadmin";

    public static final String SUPER_MENU = "0000";

    public static final String SYSTEM = "SYSTEM";

    public static final String CPU = "cpu";

    public static final String MEM = "mem";

    public static final String NONE = "none";

    public static final String TRACE_ID = "traceId";

    public static final String USER_AGENT = "User-Agent";
}
